<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
 layout
-->
<html>
<head>
  <title>Administer the Bookstore</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" ></meta>
  <%= stylesheet_link_tag "scaffold", "PaperShelf", :media => "all" %>
</head>
<body id="admin">
  <div id="header">
    <div class="content"/>
  </div>
  <div id="columns">
    <div id="side">
       <p>
        <%= link_to "Login", :action => 'admin_login' %>
      </p>
        <p>
        <%= link_to "List Paper", :action => 'list_paper' %>
      </p>
      
      
      <p>
        <%= link_to "List Student",  :action => 'list_student' %>
      </p>
      <p>
        <%= link_to "List Teacher", :action => 'list_teacher' %>
      </p>
      <p>
        <%= link_to "Add Teacher",:action => 'add_teacher' %>
      </p>
        <p>
        <%= link_to "Change Password",  :action => 'change_admin_pass' %>
      </p>     
      <p>
        <%= link_to "Logout", :action => 'admin_logout' %>
      </p>
    </div>
    <div id="main">
    <% if flash[:notice] -%>
      <div id="notice"><%= flash[:notice] %></div>
    <% end -%>
      <%= yield :layout %>
    </div>
  </div>
<div id="copyright">
		<p>&copy; Copyright 2007 Paper Shelf| <a href="http://www.ss.pku.edu.cn">Site Design by SOA Group</a></p>
			<ul>
				<li><a href="/login" title="Home">Home</a> | </li>
				<li>Contact us:10717107@pub.ss.pku.edu.cn</li>
			</ul>

	</div>
</body>
</html>
